<?php
/* @var $this WpPribadiController */
/* @var $model WpPribadi */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'wp-pribadi-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'npwpd_pribadi'); ?>
		<?php echo $form->textField($model,'npwpd_pribadi',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'npwpd_pribadi'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'nomor_induk'); ?>
		<?php echo $form->textField($model,'nomor_induk',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'nomor_induk'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'no_telepon'); ?>
		<?php echo $form->textField($model,'no_telepon',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'no_telepon'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'nomor_kk'); ?>
		<?php echo $form->textField($model,'nomor_kk',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'nomor_kk'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'tanggal_kk'); ?>
		<?php echo $form->textField($model,'tanggal_kk'); ?>
		<?php echo $form->error($model,'tanggal_kk'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'pekerjaan_usaha'); ?>
		<?php echo $form->textField($model,'pekerjaan_usaha',array('size'=>35,'maxlength'=>35)); ?>
		<?php echo $form->error($model,'pekerjaan_usaha'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'nama_instansi'); ?>
		<?php echo $form->textField($model,'nama_instansi',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'nama_instansi'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'alamat_instansi'); ?>
		<?php echo $form->textField($model,'alamat_instansi',array('size'=>60,'maxlength'=>75)); ?>
		<?php echo $form->error($model,'alamat_instansi'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'status_aktif'); ?>
		<?php echo $form->textField($model,'status_aktif',array('size'=>2,'maxlength'=>2)); ?>
		<?php echo $form->error($model,'status_aktif'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'tanggal'); ?>
		<?php echo $form->textField($model,'tanggal'); ?>
		<?php echo $form->error($model,'tanggal'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->